/**
 *
 */
package messaage;

/**
 * @author mariak
 *
 */
public class AddForumMsg extends Message {

	protected String subject;

	/**
	 *
	 */
	public AddForumMsg(String username, String subject) {
		this.username = username;
		this.subject = subject;
	}

	/**
	 * @return the subject
	 */
	public String getSubject() {
		return subject;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see messaage.Message#toString()
	 */
	@Override
	public String toString() {
		String msg = "AddForum\n" + "Username:" + this.username + "\n"
				+ "Subject:" + this.subject + "\n" + '\0';

		return msg;
	}

}
